<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>{$jerry.lang.article_manage}</title>
    <hdjs/>
    <bootstrap/>
    <css file="__STATIC__/css/common.css"/>
</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
        <tr>
            <td width="50">aid</td>
            <td>{$jerry.lang.title}</td>
            <td width="100">{$jerry.lang.attr}</td>
            <td width="180">{$jerry.lang.add_time}</td>
            <td width="180">{$jerry.lang.change_time}</td>
            <td width="100">{$jerry.lang.kind_type}(<a href="{|U:'Article/index'}">{$jerry.lang.all}</a>)</td>
            <td width="50">{$jerry.lang.author}</td>
            <td width="150">{$jerry.lang.action}</td>
        </tr>
        </thead>
        <tbody>
            <foreach from="$data" value="$v">
                <tr>
                    <td width="50">{$v.aid}</td>
                    <td>{$v.title}</td>
                    <td width="100">{$v.attr}</td>
                    <td width="180">{$v.sendtime|date:'Y-m-d H:i:s',@@}</td>
                    <td width="180">{$v.updatetime}</td>
                    <td width="100"><a href="{|U:'Article/index',array('cid'=>$v['cid'])}">{$v.cname}</a></td>
                    <td width="50">{$v.author}</td>
                    <td width="150">
                        <a href="{|U:'Article/edit',array('aid'=>$v['aid'])}" class="btn btn-primary btn-xs">{$jerry.lang.edit}</a> <a href="javascript:;" class="btn btn-warning btn-xs" onclick="if(confirm('确定删除吗？')) location.href='{|U:'Article/del',array('aid'=>$v['aid'])}'">{$jerry.lang.delete}</a>
                    </td>
                </tr>
            </foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
      {$page}
    </div>
</div>

</body>
</html>


